Compiler Design


Q121.

In a resident-OS computer, which of the following systems must reside in the main memory under all situations?
GateOverflow

Q122.

Heap allocation is required for languages.
GateOverflow

Q123.

A language L allows declaration of arrays whose sizes are not known during compilation. It is required to make efficient use of memory. Which one of the following is true?
GateOverflow

Q124.

A linker is given object modules for a set of programs that were compiled separately. What information need to be included in an object module?
GateOverflow

Q125.

A part of the system software which under all circumstances must reside in the main memory is:
GateOverflow

Q126.

The process of assigning load addresses to the various parts of the program and adjusting the code and date in the program to reflect the assigned addresses is called
GateOverflow

Q127.

Choose the correct alternatives (more than one may be correct ) and write the corresponding letters only A "link editor" is a program that:
GateOverflow

Q128.

Consider the following grammar and the semantic actions to support the inherited type declaration attributes. Let X_1,X_2,X_3,X_4,X_5 \; and \; X_6 be the placeholders for the non-terminals D, T, L or L_1 in the following table: Which one of the following are the appropriate choices for X_1,X_2,X_3 \; and \; X_4?
GateOverflow

Q129.

Consider the following Java code fragment: public class While { public void loop() { int x = 0; while(1) { System.out.println("x plus one is" +(x+1)); } } }
GateOverflow

Q130.

Consider the following ANSI C program:int main () { Integer x; return 0; } Which one of the following phases in a seven-phase C compiler will throw an error?
GateOverflow